package com.moonfish.base.controller.request;

import com.moonfish.base.model.i18n.International;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * Created by mayu on 2017/7/11.
 * email:showmara@qq.com
 */
@Data
@ApiModel(description = "菜单实体")
public class MenuRequestBody {
    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "菜单链接")
    private String url;


    @ApiModelProperty(value = "父节点编号")
    private String pid;

    @ApiModelProperty(value = "菜单级别")
    private String level;

    @ApiModelProperty(value = "角色ID集合")
    private List<String> roles;

    @ApiModelProperty(value = "国际化")
    private List<International> i18n;
}
